import temple from "./_sayHellow"
import structureEvent from "./_structureEvent"
import spawnEvent from "./_spawnEvent"
import creepEvent from "./_creepEvent"
import taskManager from "../task/taskManager"

const eventMap = {
    sayHellow: (params) => temple.sayHellow(params),
    objToSleep: (params) => structureEvent.objToSleep(params),
    creepToSleep: (params) => creepEvent.creepToSleep(params),
    changHarvesterCheckContainer: (params) => creepEvent.changHarvesterCheckContainer(params),
    spawnCreep: (params) => spawnEvent.spawnCreep(params),
    pushCreepToWork: (params) => creepEvent.pushCreepToWork(params),
    finishTask: (params) => taskManager.finishTask(params.taskID, params.roomName)
}
export {
    eventMap
}